/**
 * @description 用户相关路由
 * @author 盘古他爹
 */

import * as Router from "koa-router";
const route = new Router({ prefix: "/user" })
import { UserCON } from "../../routerController/user"

route.get("/dd", ctx => 1)
//登录功能
route.post("/login", UserCON.login)

//注册
route.post("/register", UserCON.register)


export {
    route
}